home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q100 / 3 / 71.TXT < prev    next >
Text File  |  1993-08-30  |  3KB  |  83 lines

  1. DOCUMENT:Q100371  21-JUN-1993  [W_NT]
  2. TITLE   :INF: Video Drivers (Three-Part Model)
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------
  14.  
  15. Summary:
  16.  
  17. Windows NT video display drivers are implemented in three parts: the
  18. port driver, the Miniport driver, and the display driver. The
  19. following sections provide information on these modules.
  20.  
  21. Port Driver
  22. -----------
  23.  
  24. The port driver is a hardware independent driver that communicates
  25. with the Windows NT IO Manager and the Miniport driver. Only one port
  26. driver is needed because it contains no video adapter specific
  27. information. The port driver does the following:
  28.  
  29.  - At the direction of IO Manager, the port driver initializes the
  30.    Miniport driver.
  31.  
  32.  - It handles the synchronization of multithreaded requests, ensuring
  33.    each single-thread Miniport driver receives requests in the proper
  34.    order.
  35.  
  36.  - It handles many higher level video driver functions, such as video
  37.    memory mapping and initializing the video for virtual MS-DOS
  38.    machines (VDMs).
  39.  
  40. Port driver information is stored in the following subkey in the
  41. Registry:
  42.  
  43.    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Videoprt
  44.  
  45. Miniport Driver
  46. ---------------
  47.  
  48. The Miniport driver communicates directly with the video adapter and
  49. contains video adapter specific information. There is a different
  50. Miniport driver for every video adapter, but because the port driver
  51. handles much of the higher-level functionality of the video display
  52. and the Miniport driver need only provide an interface to the port
  53. driver, Miniport drivers are very small. The Miniport driver handles
  54. mode switching, interrupt requests, and I/O control codes (IOCTLs) not
  55. processed by the port driver.
  56.  
  57. Display Driver
  58. --------------
  59.  
  60. The display driver operates in user mode and communicates between the
  61. IO Manager and the Windows NT graphical device interface (GDI) and
  62. device driver interface (DDI). The display driver is a portion of the
  63. Win32 subsystem, and like the port driver, knows nothing about the
  64. video adapter hardware. It does, however, have the ability to request
  65. such information if needed by an application.
  66.  
  67. Additional reference words: 3.10
  68.  
  69. =============================================================================
  70.  
  71. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  72. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  73. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  74. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  75. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  76. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  77. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  78. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  79. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  80. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  81. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  82.  
  83. Copyright Microsoft Corporation 1993.